how to integrate exponential functions